fileSystems.<name>.device

The device as passed to mount.

This can be any of:

This is called device in mount(8) and fs_spec in fstab(5).

Type
null or string (with check: non-empty)
Default
null
Example
"/dev/sda"
Declared
<nixpkgs/nixos/modules/tasks/filesystems.nix>